import style from   './index.module.less'
import { Button } from 'antd'
import { Outlet, useNavigate } from 'react-router-dom'
const Home = () => {
    const navigate = useNavigate()
    return (
        <div className={style.home}>
            <Button type='primary' onClick={()=>{navigate('/home/4859')}}>跳转到楼层</Button>
            <Outlet></Outlet>
        </div>
    )
}
export default Home